package org.japo.java.swing.listeners;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import org.japo.java.swing.igu.IGU;

public class GEA implements ActionListener{
    
    private final IGU igu;
 
    public GEA(IGU igu) {
        this.igu = igu;
    }
    

    @Override
    public void actionPerformed(ActionEvent ae) {
        Object o = ae.getSource();
        igu.procesarAccion(o);
    }
}
